<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		我是B页面<br />
		<button type="button" onclick="reloadNowPage()">刷新页面</button>
		<button type="button" onclick="goC()">跳转到C</button>
		<button type="button" onclick="myfoward()">前进</button>
		<button type="button" onclick="myback()">后退</button>
	</body>
	<script type="text/javascript">
		function reloadNowPage(){
			location.reload();
		}
		function goC(){
			location.href = 'C.html';
		}
		function myfoward(){
			history.forward();
		}
		function myback(){
			history.back();
		}
	</script>
</html>
